package com.heipi.controller;

import jakarta.annotation.Resource;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: honry.guan
 * @create: 2025-07-02 22:33
 **/
@RestController
public class RedisController {
    @Resource
    private RedisTemplate<String, String> redisTemplate;

    @GetMapping("test")
    public ResponseEntity<String> getString() {
        return ResponseEntity.ok("hello world");
    }
}
